﻿<UserControl x:Class="GeoCoder.LoadingControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:gif="clr-namespace:WpfAnimatedGif;assembly=WpfAnimatedGif"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Height="150">
    <Border BorderBrush="#B28B8B8B" BorderThickness="5" CornerRadius="10" Background="#B2E6E6E6">
        <Grid>
            <Image x:Name="LoadingImage" gif:ImageBehavior.AnimatedSource="Images/loading.gif" Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center" Width="220" Height="19" />
            <Label x:Name="LoadingLabel" Content="Loading..." HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="2" Margin="0,50,0,0" FontFamily="SketchFlow Print" FontSize="24"/>
        </Grid>
    </Border>
</UserControl>
